package com.hymall.service.wx;

import com.hymall.bean.MarketOrderGoods;
import com.hymall.bean.bo.CommentBO;
import com.hymall.bean.bo.WXOrderBO;

import com.hymall.bean.common.BasePageInfo;
import com.hymall.bean.common.CommonData;
import com.hymall.bean.vo.WXOrderDetailVO;

/**
 * @Author: haiyuny
 * @Date: 2022/7/19 10:04
 * @Description:
 */

public interface WOrderService {
    CommonData queryOrderLists(BasePageInfo info, Short showType);

    void deleteOrder(WXOrderBO orderId);

    WXOrderDetailVO getOrderDetail(String orderId);

    void confirm(String orderId);

    MarketOrderGoods goods(String orderId, String goodsId);

    void comment(CommentBO commentBO);

    void refund(WXOrderBO orderId);

    void cancel(WXOrderBO orderId);

    Integer orderSubmit(Integer addressId, Integer cartId, Integer couponId,
                        Integer grouponLinkId, Integer grouponRulesId, String message);

    void prepay(String orderId);

}
